package com.website.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "sys_power")
public class SysPower implements Serializable {

    private static final long serialVersionUID = -7331218925207259359L;

	@TableId
	protected Integer id;

    private String name;

	private Boolean leaf;

    private Long num;

    private Boolean expand;
    /**
     * 父节点ID
     */
    private Integer parentId;
    /**
     * 节点url
     */
    private String url;

	private Integer sort;

    public SysPower() {
    }
    public SysPower(Integer i) {
		this.id = i;
	}

}